package com.ly.cloud.service;
import com.baomidou.mybatisplus.plugins.Page;
import com.ly.cloud.vo.ClassStuVo;
import com.ly.cloud.vo.SeparateClassRuleVo;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

/**
 * @Description:
 * @Author: pengshiqng
 * @Date: Create in 2018/12/20
 */
public interface TemporaryStudentService {

    // 分页 +条件查询
    Page<Map<String,String>> selectPageLeft(Page<Map<String,String>> page, String grade, String profe, String name);

    Page<Map<String,String>> selectPageRight(Page<Map<String,String>> page, String grade, String profe, String college);

    //根据id删除
    int deleteById(String id);

    // 批量删除
    int deleteByIds(List<String> ids);

    //导入
    void importExcel(MultipartFile file);

    //分班
    int sepClass(String bjdm , List<String> list);

    //取消分班
    int cancelSepClassByClassId(List<String> list) ;

    //根据 xsid批量取消分班
    int cancelSepClaByXsid(List<String> list);

    //编学号
    int editStudentId(String type ,List<String> list);

    //转入正式库
    int intoFormalLibrary(List<String> list);

    //根据班级代码查询该班级所有的学生
    Page<ClassStuVo> findAllStuByClassId(Page<ClassStuVo> page, String classId , String ksh, String name);


}
